import Layout from '@/views/layout/Layout'

const activity = {
  path: '/qualityManagement',
  component: Layout,
  name: 'qualityManagement',
  alwaysShow: true,
  meta: { title: 'qualityManagement', icon: 'qualityManagement' },
  children: [
    {
      path: 'categorySettings', // 类别设置
      component: () => import('@/views/pre-sale/qualityManagement/categorySettings/index'),
      name: 'categorySettings',
      meta: { title: 'categorySettings' }
    },
    {
      path: 'propertySettings', // 属性设置
      component: () => import('@/views/pre-sale/qualityManagement/propertySettings/index'),
      name: 'propertySettings',
      meta: { title: 'propertySettings' }
    },
    {
      path: 'qualityShelves', // 精品管理
      component: () => import('@/views/pre-sale/qualityManagement/qualityShelves/index'),
      name: 'qualityShelves',
      meta: { title: 'qualityShelves' }
    },
    {
      path: 'qualityShelvesDetail/:id', // 精品上架信息
      component: () => import('@/views/pre-sale/qualityManagement/qualityShelves/add'),
      hidden: true,
      props:true,
      name: 'qualityShelvesDetail',
      meta: { title: 'qualityShelvesDetail' }
    }
  ]
}

export default activity
